package com.hjrpc.babyyamall.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableRedisHttpSession
@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class,
        scanBasePackages = {"com.hjrpc.common.config", "com.hjrpc.babyyamall.search"})
@EnableFeignClients(basePackages = {"com.hjrpc.babyyamall.search.feign"})
//@ServletComponentScan("com.hjrpc.babyyamall.search.filter")
public class BabyyamallSearchApplication {

    public static void main(String[] args) {
        SpringApplication.run(BabyyamallSearchApplication.class, args);
    }

}
